package com.woniu.service;

import com.woniu.entity.PageResult;
import com.woniu.pojo.Timetable;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.vo.LeagueBookVo;
import com.woniu.vo.LeagueDetailVo;
import com.woniu.vo.TimetableQueryVo;
import com.woniu.vo.TimetableSearchVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zbk
 * @since 2022-10-12
 */
public interface ITimetableService extends IService<Timetable> {

    /**
     * 搜索 + 分页
     * @param currentPage
     * @param pageSize
     * @param timetableQueryVo
     * @return
     */
    PageResult search(Integer currentPage, Integer pageSize, TimetableQueryVo timetableQueryVo);

    /**
     * 查询所有课程
     * @return
     * @param gymId
     */
    List<TimetableSearchVo> queryAll(String gymId);

    LeagueDetailVo detail(String id);

    LeagueBookVo bookMsg(String id);
}
